package org.xiji.command;

/**
 * 指令封装
 */
public class GameRoleCommand implements Command{
    /**
     *
     */
    private GameRole gameRole;

    public GameRoleCommand() {
    }

    public GameRoleCommand(GameRole gameRole) {
        this.gameRole = gameRole;
    }

    public GameRole getGameRole() {
        return gameRole;
    }

    public void setGameRole(GameRole gameRole) {
        this.gameRole = gameRole;
    }

    @Override
    public void firstSkill() {
        this.gameRole.firstSkill();

    }

    @Override
    public void secondSkill() {

        this.gameRole.secondSkill();
    }

    @Override
    public void thirdSkill() {
        this.gameRole.thirdSkill();

    }

    @Override
    public void fourthSkill() {
        this.gameRole.fourthSkill();

    }
}
